import { useState, useEffect } from 'react'
import logo from './logo.svg'
import { addComment } from './api/require'
import './App.css'

function App() {

  useEffect(() => {
    addComment()
      .then(data => {
        console.log(data)
      })
    // localStorage.setItem('token', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEzMTQ1NiwiaWF0IjoxNjU5OTQ2Njc5LCJleHAiOjE2NjAwMzMwNzl9.u95SNGrcmHbu0kHpSeDdgdAb-nn0rhZAurVJMP8_F18')
  }, [])
  return (
    <div className="App">
      
    </div>
  )
}

export default App
